package ExtendsBlogDemo.BaseConstructionMethod.Sequence;

public class Base {
    public Base() {
        System.out.println("父类构造");
    }
    {
        System.out.println("父类实例");
    }
    static {
        System.out.println("父类静态");
    }
}
class Derive extends Base {
    public Derive() {
        super();
        System.out.println("子类构造");
    }
    {
        System.out.println("子类实例");
    }
    static {
        System.out.println("子类静态");
    }
}
class Run {
    public static void main(String[] args) {
        Derive D1 = new Derive();
        System.out.println("===============================");
        Derive D2 = new Derive();
    }
}
